package com.qianf.qfoffice.service;

import com.qianf.qfoffice.entity.Question;

import java.util.List;

public interface ResourceService {

    /**
     * 添加笔记
     * @param question
     * @return
     */
    public boolean addNote(Question question);

    /**
     * 添加代码
     * @param question
     * @return
     */
    public boolean addCode(Question question);

    /**
     * 添加面试题
     * @param question
     * @return
     */
    public boolean addSavequestion(Question question);

    /**
     * 根据用户uno展示所有资源信息
     * @return
     */
    public List<Question> selectQuestion(String uno,Integer page,Integer limit);

    /**
     * 根据id删除资源信息
     */
    public boolean deleteQuestion(int id);

    /**
     * 根据id修改信息
     * @param question1
     * @return
     */
    public boolean updateQuestion(Question question1);
}
